<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title> 气度网 - 气度如水</title>
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<script type="text/javascript" src="${ctx}/js/jquery-1.5.2.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/p_show.js"></script>
	<link type="text/css" rel="stylesheet" href="${ctx}/css/p_show.css" >
</head>

<body>
<div id="container">
	<!-- 头部 -->
	<%@ include file="header.jsp"%>
    <div id="banner">
    	<div id="logo">
    		<a href="${ctx}/index"><img src="${ctx}/image/index/logo.gif" border="0"  alt=" 气度网 - 气度如水 "   title=" 气度网 - 气度如水 "></a>
    	</div>
        <!-- 搜索栏 -->
        <div id="search_bar">
        <form action="${ctx}/product/search?pageNum=1&pageSize=10" method="post">
        		<input type="text" value="请输入关键字" id="search_key" name="key" class="search" />
            	<select class="search" id="search_category" name="category">
					<option value="all">所有</option>
					<s:iterator value="#session.indexMainMenu" var="tempSort">
        			<option value="<s:property value="#tempSort.typeCode"/>"><s:property value="#tempSort.typeName"/></option>
        			</s:iterator>  
           		</select>
                <input type="submit" class="search_btn" value="搜索"/>
        </form>
        </div>
   	</div>
   	<div class="clear"></div>
    <div class="divide">
    	<div class="index_menu">
        	<a href="${ctx}/index" title="气度首页"><div class="qeado_index">气度首页</div></a>
            <a href="#" title="产品类别"><div class="menu_btn">产品类别</div></a>
            <a href="${ctx }/news/index" title="农业资讯"><div class="menu_btn">农业资讯</div></a>
            <a href="${ctx }/school/index" title="校园合作"><div class="menu_btn">校园合作</div></a>
            <a href="#" title="农业百科"><div class="menu_btn">农业百科</div></a>
            <a href="#" title="市场行情"><div class="menu_btn">市场行情</div></a>
            <a href="#" title="企业名录"><div class="menu_btn">企业名录</div></a>
            <a href="#" title="校园名录"><div class="menu_btn">校园名录</div></a>
            <a href="#" title="关于气度"><div class="menu_btn">关于气度</div></a>
        </div>
        <div class="clear"></div>
		<div class="key_link_menu">
        	<div class="key_link">主要类别：</div>
        	<s:iterator value="#session.indexMainMenu" var="tempSort" status="count">
        		<a href="${ctx}/sub_sort?style=<s:property value="#count.index+1"/>"><div class="key_link"><s:property value="#tempSort.typeName"/></div></a>
        	</s:iterator>      
        </div>
        <div class="clear" ></div>
    </div>
    <div class="clear"></div>
    <!-- 内容 -->
    <div id="guide">导航</div>
    <div id="s_body">
        <div id="topic"><s:property value="product.prodName"/></div>
        <div id="s_body_left">
            <div id="s_body_left1">
                <img src="${ctx}/uploadfiles/<s:property value="product.fileName"/>" width="298" height="298" title="<s:property value="product.prodName"/>" />
            </div>
            <div id="s_body_left2">
                <div id="s_body_left21">
                    <div class="left"></div>
                    <div class="mid"> 推荐指数：</div>
                    <div class="right">
                    	<img class="star" src="${ctx}/image/index/star.png" />
                        <img class="star" src="${ctx}/image/index/star.png" />
                        <img class="star" src="${ctx}/image/index/star.png" />
                    </div>
                    <div class="left"></div>
                    <div class="mid"> 价&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;格：</div>
                    <div class="right">￥ <font color="#FF0000"><s:property value="product.price"/></font> / <s:property value="product.unit"/></div>
                </div>
                <div id="s_body_left22">
                    <div class="left"></div>
                    <div class="mid"> 库存总量：</div>
                    <div class="right"><s:property value="product.amount"/> 件</div>
                    <div class="left"></div>
                    <div class="mid"> 产&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;地：</div>
                    <div class="right">
                    <s:if test="product.prodPlace.length() > 20 ">
                    	<s:property value="product.prodPlace.substring(0,20)+'...' "/>
                    </s:if>
                    <s:else>
                    	<s:property value="product.prodPlace"/>                    
                    </s:else>
                    </div>
                    <div class="left"></div>
                    <div class="mid"> 卖&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;家：</div>
                    <div class="right"><s:property value="product.prodOwner"/></div>
                    <div class="left"></div>
                    <div class="mid"> 品&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;牌：</div>
                    <div class="right"><s:property value="product.brand"/></div>
                </div>
                <div id="s_body_left23">
                    <div class="left"></div>
                    <div class="mid"> 联系手机：</div>
                    <div class="right"><s:property value="product.contactMobile"/></div>
                    <div class="left"></div>
                    <div class="mid"> 联系电话：</div>
                    <div class="right"><s:property value="product.contactTel"/></div>
                    <div class="left"></div>
                    <div class="mid"> 联&nbsp;&nbsp;系&nbsp;人：</div>
                    <div class="right"><s:property value="product.contactName"/></div>
                </div>
            </div>
            <div id="s_body_left3">
                <div id="s_body_left31">
                    <div id="s_body_left32">产品商标：</div>
                    <div  id="s_body_left33"><img src="${ctx}/image/upload/产品展示_r4_c1.jpg" /></div>
                </div>
                <div id="s_body_left4">
                    <div id="s_body_left41">产品简介： </div>
                    <div id="s_body_left42">
                    	<s:property value="product.summary"/>
                    </div>
                </div>
            </div>
            <div id="s_body_left5">
                <div id="tab1" >
                    <div id="t_left"></div>
                    <div id="tab2">
                        <ul id="tab">
                            <li  class="li" id="detail"><a id="li1">物品详情</a></li>
                            <li class="li" id="comment"> <a  id="li2">评价信息</a></li>
                        </ul>
                    </div>
                    <div id="t_right"></div>
                </div>
                <div id="d_more">
                    <div id="base">
                        <div class="b1">
                            <div class="b2">名称：<s:property value="product.prodName"/></div>
                            <div class="b2">总量：<s:property value="product.amount"/> 件</div>
                            <div class="b2">产地：
							<s:if test="product.prodPlace.length() > 13 ">
	                    		<s:property value="product.prodPlace.substring(0,13)+'...' "/>
	                    	</s:if>
	                    	<s:else>
	                    		<s:property value="product.prodPlace"/>                    
	                    	</s:else>
                            </div>
                        </div>
                        <div class="b1">
                            <div class="b3">单价：￥ <font color="#FF0000"><s:property value="product.price"/></font> / <s:property value="product.unit"/></div>
                            <div class="b3">品牌：<s:property value="product.brand"/></div>
                            <div class="b3">产品类别：<s:property value="product.prodType"/></div>
                        </div>
                        <div class="b1">
                            <div class="b3">信息类型：
                            	<font color="#FF0000">
                            	<s:if test="product.infoCategory == 1">
                            		出售
                            	</s:if>
                            	<s:else>
                            		采购
                            	</s:else>
                            	</font>
                            </div>
                            <div class="b3">发布时间：<font color="#FF0000"><s:property value="product.createDate"/></font></div>
                            <div class="b3">过期日期：<font color="#FF0000"><s:property value="product.endDate"/></font></div>
                        </div>
                    </div>
                    <div class="titles">
                        <div class="title" >联系人信息</div>
                    </div>
                    <div id="connect">
                        <div class="b2">联系人：<s:property value="product.contactName"/></div>
                        <div class="b3">联系人手机：<s:property value="product.contactMobile"/></div>
                        <div class="b3">联系人电话：<s:property value="product.contactName"/></div>
                    </div>
                    <div class="titles">
                        <div class="title" >规格说明</div>
                    </div>
                    <div id="qualtiy">
                        <div id="qualtiy1"><s:property value="product.standardDesc"/></div>
                    </div> 
                    <div class="titles">
                        <div class="title" >质量说明</div>
                    </div>
                    <div id="qualtiy">
                        <div id="qualtiy1"><s:property value="product.qualityDesc"/></div>
                    </div>
                    <div class="titles">
                        <div class="title" >产品详细信息</div>
                    </div>
                    <div id="d_info">
                        <div id="d_info1"><s:property value="%{product.prodDesc}"  escape="false"/></div>
                    </div>
                </div>
                <div id="c_more">
                    <div class="comment">
                        <div class="com_top" >
                            <div class="com_top1">golden发表的评论</div>
                        </div>
                        <div class="content"> </div>
                        <div class="line">
                            <hr  size="1"/>
                            <div  class="time">时间：2011-03-20 10:09:12 </div>
                        </div>
                    </div>
                    <div class="comment1">
                        <div class="com_top" >
                            <div class="com_top1">golden发表的评论</div>
                        </div>
                        <div class="content"> </div>
                        <div class="line">
                            <hr  size="1"/>
                            <div  class="time">时间：2011-03-20 10:09:12 </div>
                        </div>
                    </div>
                    <div class="comment1">
                        <div class="com_top" >
                            <div class="com_top1">golden发表的评论</div>
                        </div>
                        <div class="content"> </div>
                        <div class="line">
                            <hr  size="1"/>
                            <div  class="time">时间：2011-03-20 10:09:12 </div>
                        </div>
                    </div>
                    <div class="comment1">
                        <div class="com_top" >
                            <div class="com_top1">golden发表的评论</div>
                        </div>
                        <div class="content"> </div>
                        <div class="line">
                            <hr  size="1"/>
                            <div  class="time">时间：2011-03-20 10:09:12 </div>
                        </div>
                    </div>
                    <div class="comment1">
                        <div class="com_top" >
                            <div class="com_top1">golden发表的评论</div>
                        </div>
                        <div class="content"> </div>
                        <div class="line">
                            <hr  size="1"/>
                            <div  class="time">时间：2011-03-20 10:09:12 </div>
                        </div>
                    </div>
                    <div id="paging">
                        <div id="paging1"> 共15个  下一页</div>
                    </div>
                    <div id="publish">
                        <div  class="com_top">
                            <div class="com_top1"><strong>发表评论</strong></div>
                        </div>
                        <div id="p_more">
                            <form>
                                <fieldset id="p_more1">
                                    <legend><strong>已经有15个人发表了评论</strong> </legend>
                                    <div id="name">当前用户名</div>
                                    <div id="text">
                                        <textarea> </textarea>
                                    </div>
                                    <div id="button">
                                        <input  type="submit" value="发表评论" />
                                    </div>
                                </fieldset>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="s_body_right">
            <div id="s_body_right1">
                <div id="s_body_right11">企业信息</div>
                <div id="s_body_right12">
					<div class="self_pic">
                    	<a href="##" title="商家名称"><img src="${ctx}/image/upload/userPic1.jpg" width="200" height="200"/></a>
                    </div>
                    <a href="#" title="英特尔亚达研究院">
                    <div class="self_info">
                    	<font color="#000000">企业名称：英特尔亚达研究院</font>
                    </div>
                    </a>
                    <div class="self_info">认证等级：<font color="#FF0000">VIP 1</font></div>
                    <div class="self_info">企业类型：股份制</div>
                    <div class="self_info">企业规模：100-500人</div>
                    <div class="self_info">企业地址：中国上海紫竹林科技园区</div>
                    <div class="self_info">注册时间：2010-12-30</div>
                </div>
            </div>
            <div id="s_body_right2">
            	<div class="ad">
                	<a href="#"><img src="${ctx}/image/ad/ad1.gif" width="240" height="150" title="ad01"/></a>
                </div>
            	<div class="ad">
                	<a href="#"><img src="${ctx}/image/ad/ad1.gif" width="240" height="150" title="ad01"/></a>
                </div>
            	<div class="ad">
                	<a href="#"><img src="${ctx}/image/ad/ad1.gif" width="240" height="150" title="ad01"/></a>
                </div>
            </div>
        </div>
    </div>
    <!-- 尾部 -->
    <div id="footer">
    	<!-- 一些链接 -->
		<div id="friendly_link">
        	<li class="friendly_link"></li>
            <li class="friendly_link"></li>
        </div>
        <div class="clear"></div>
        <!-- 一些链接 -->
        <div id="web_info">
        		<a class="friendly_link" href="#">气度网简介</a>&nbsp;|&nbsp;
                <a class="friendly_link" href="#">营业执照</a>&nbsp;|&nbsp; 
            	<a class="friendly_link" href="#">注册协议</a>&nbsp;|&nbsp;
            	<a class="friendly_link" href="#">法律声明</a>&nbsp;|&nbsp;
            	<a class="friendly_link" href="#">联系我们</a>&nbsp;|&nbsp;
                <a class="friendly_link" href="#">便民服务</a>&nbsp;|&nbsp;
                <a class="friendly_link" href="#">友情链接</a>&nbsp;|&nbsp;
            	<a class="friendly_link" href="#">使用帮助</a>&nbsp;|&nbsp;
            	<a class="friendly_link" href="#">广告服务</a>&nbsp;|&nbsp;
            	<a class="friendly_link" href="#">给我们留言</a>&nbsp;|&nbsp;
                <a class="friendly_link" href="#">导航地图</a>
        </div>
    	<hr />
        <!-- 一些证件和信息 -->
        <div class="copyright">Email : allenlinrui@gmail.com  |  Tel : 18915583294 / 0571-89898989  |  QQ : 67780691</div>
        <div class="copyright">Copyright © 2010-2011 中国科大软件学院软设专业Fine团队 版权所有</div>
        <div class="copyright"><img src="${ctx}/image/index/logo.gif" width="80px"> 苏ICP证：0000000号</div>
    </div>
</div>	    
</body>
</html>
